/*
 *  Copyright (c) 2011 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany.
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the GNU Lesser Public License v2.1
 *  which accompanies this distribution, and is available at
 *  http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 *
 *  Contributors:
 *      Leibniz Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany - RMI Client, FileChooser and WebDAV
 */
package de.ipk_gatersleben.bit.bi.edal.webdav.wrapper.metadata;

import javax.xml.bind.annotation.XmlRootElement;

import de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.EdalDate;

@XmlRootElement
public class BasicDateWrapper {
	private String event;
	private EdalDate timePoint;

	public BasicDateWrapper() {
	}

	public BasicDateWrapper(
			de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.EdalDate date) {
		this.event = date.getString();
		this.timePoint = date;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public EdalDate getTimePoint() {
		return timePoint;
	}

	public void setTimePoint(EdalDate timePoint) {
		this.timePoint = timePoint;
	}
}
